package technical;

/**
 *
 * @author Tania M
 * @version 1.0
 */
public class XmlFeedItemsMessageData extends XmlData {

    private String _title = null;
    private String _description = null;
    private String _link = null;
    private String _author = null;
    private String _guid = null;

    /**
     *
     */
    public XmlFeedItemsMessageData() {
    }

    /**
     *
     * @param obj
     */
    public XmlFeedItemsMessageData(XmlFeedItemsMessageData obj) {
        this._author = obj.getAuthor();
        this._title = obj.getTitle();
        this._description = obj.getDescription();
        this._link = obj.getLink();
        this._guid = obj.getGuid();
    }

    /**
     *
     * @return
     */
    public String getTitle() {
        return _title;
    }

    /**
     *
     * @param title
     */
    public void setTitle(String title) {
        this._title = title;
    }

    /**
     *
     * @return
     */
    public String getDescription() {
        return _description;
    }

    /**
     *
     * @param description
     */
    public void setDescription(String description) {
        this._description = description;
    }

    /**
     *
     * @return
     */
    public String getLink() {
        return _link;
    }

    /**
     *
     * @param link
     */
    public void setLink(String link) {
        this._link = link;
    }

    /**
     *
     * @return
     */
    public String getAuthor() {
        return _author;
    }

    /**
     *
     * @param author
     */
    public void setAuthor(String author) {
        this._author = author;
    }

    /**
     *
     * @return
     */
    public String getGuid() {
        return _guid;
    }

    /**
     *
     * @param guid
     */
    public void setGuid(String guid) {
        this._guid = guid;
    }

    @Override
    public String toString() {
        return "<ITEMS_title>" + _title + "</ITEMS_title><ITEMS_description>" + _description
                + "</ITEMS_description><ITEMS_link>" + _link + "</ITEMS_link><ITEMS_author>"
                + _author + "</ITEMS_author><ITEMS_guid>" + _guid + "</ITEMS_guid>";

    }
}
